package qlsl.androiddesign.activity.subactivity;

import android.os.Bundle;
import qlsl.androiddesign.activity.baseactivity.BaseActivity;
import qlsl.androiddesign.entity.otherentity.Entity;
import qlsl.androiddesign.manager.ActivityManager;
import qlsl.androiddesign.view.baseview.FunctionView;
import qlsl.androiddesign.view.subview.activityview.CopyView;
import qlsl.androiddesign.view.subview.activityview.PostJobView;

public class PostJobActivity extends BaseActivity {

	private PostJobView functionView;

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		functionView = new PostJobView(this);
	}

	public FunctionView<?> getFunctionView() {
		return functionView;
	}

	public void onNetWorkSucceed(String method, Object values) {
		if (method.equals("insertAdvertises")) {
			showToast("发布成功");
			ActivityManager.getInstance().popToActivity(RecruitActivity.class);
		}

	}

	public void onNetWorkFaild(String method, Object values) {
		if (method.equals("insertAdvertises")) {
			showToast("发布失败");
		}

	}

}
